# -*- coding: utf-8 -*-
from odoo import models, fields, api
from odoo.exceptions import ValidationError

class Empcode(models.Model):

    _name = 'emp.code'
    _rec_name = 'value1'
    codedetno = fields.Char('')
    codeno = fields.Char()
    value3 = fields.Char()
    value1 = fields.Char()
    value2 = fields.Char()
    serno = fields.Char()
    value4 = fields.Char()
    value5 = fields.Char()
    note = fields.Char()
    yymmdd = fields.Datetime()
    value6 = fields.Char()
    value7 = fields.Char()
    value8 = fields.Char()
    value9 = fields.Char()
    value10 = fields.Char()